﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DomainModel.Entities;

namespace DomainModel.Abstract
{
    // Interface for the Jobs section of the database.
    // This is the top level of the DAL.
    public interface IJobsRepository
    {
        // Linq interface for the Job repository.
        IQueryable<Job> Jobs { get; }
        // Save a Job to the repository.
        void SaveJob(Job job);
        // Delete a Job from the repository.
        void DeleteJob(Job job);
    }
}
